#!/bin/bash
# description: build-server ....

# 项目配置
BE_DIR=/autoeploy
# 清理日志
forever cleanlogs
# 启动服务
cd ~
cd ${BE_DIR}
git pull
forever start --uid "webhooks" -l webhooks.log -a webhooks.js
